

import java.net.MalformedURLException;
import java.net.URL;

public class Result {

	public String title, summary;
	public URL url;
	
	public Result(String t, String s, String u)
	{
		title = t;
		summary = s;
	try
	{	
		url = new URL(u);
	} catch (MalformedURLException e) {
		System.err.println(e);
		url = null;
	}
	}
}
